#include <iostream>

class Test
{
public:
    Test(int a, int b)
    {
        this->a = a;
        this->b = b;
        std::cout<<"构造:this:"<<this<<std::endl;
    }
    Test (const Test & t)
    {
        std::cout<<"拷贝构造"<<std::endl;

    }
    Test clone()
    {
        return *this;
    }
    void show()
    {
        std::cout<<"helloworld\n";
    }
private:
    int a;
    int b;
};



int main()
{
    Test t(1, 2);

    std::cout<<"t address"<<std::endl;
    t.clone().show();
    return 0;
}